package com.ruoyi.exam.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 地区管理对象 exam_area
 * 
 * @author wky
 * @date 2024-09-19
 */
@Schema(description = "地区管理对象")
public class ExamArea extends TreeEntity
{
    private static final long serialVersionUID = 1L;


    /** 地区id */
    @Schema(title = "地区id")
    private Long areaId;

    /** 地区名称 */
    @Schema(title = "地区名称")
    @Excel(name = "地区名称")
    private String areaName;
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }


    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("parentId", getParentId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .toString();
    }
}
